package org.acghub.reflection.module;

import java.lang.annotation.*;

/**
 * @Project demos
 * @Package org.acghub.reflection
 * @Desc
 * @Author Administrator
 * @Date 2025/7/16/星期三 10:02
 * @Version 1.0
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ReflectionModuleAnno {

    /**
     * 模块名称
     */
    String name() default "";

    /**
     * 反射的包路径
     */
    String[] packages() default {};

    /**
     * 模块依赖
     */
    Class<? extends AbstractReflectionModule>[] dependencies() default {};

    /**
     * 优先级，数值越小优先级越高
     */
    int priority() default Integer.MAX_VALUE;

}
